package com.detection.hikvision.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author LH
 * @date 2022/9/7 9:31
 */
@Configuration
@PropertySource("classpath:artemis.properties")
public class CusArtemisConfig {
    @Value("${hikvision.artemis.host}")
    private String host;

    @Value("${hikvision.artemis.app_key}")
    private String appKey;

    @Value("${hikvision.artemis.app_secret}")
    private String appSecret;

    @Value("${hikvision.artemis.transfer_protocol}")
    private String transferProtocol;

    @Value("${hikvision.artemis.artemisPath}")
    private String artemisPath;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getTransferProtocol() {
        return transferProtocol;
    }

    public void setTransferProtocol(String transferProtocol) {
        this.transferProtocol = transferProtocol;
    }

    public String getArtemisPath() {
        return artemisPath;
    }

    public void setArtemisPath(String artemisPath) {
        this.artemisPath = artemisPath;
    }
}
